package com.dao.luo;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.stereotype.Repository;

import com.entity.Account;

@Repository
public interface AccountDao {
	public void insert(Account account);
	public void delete(@Param("aid") Integer aid);
	
	public void update(Account account);
	
	public Account select(@Param("aid") Integer aid);
	
	public List<Account> queryAll();
	
}
